<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib uri="/struts-tags" prefix="s" %>
 <%

 String path = request.getContextPath();
 	String basePath = request.getScheme() + "://"
 			+ request.getServerName() + ":" + request.getServerPort()
 			+ path + "/";
 %>

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html lang="en">
  
  <head>
    <meta charset="utf-8">
    <title>用户修改</title>
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta name="description" content="">
    <meta name="author" content="">
    <!-- Le styles -->
    <link href="<%=basePath%>assets/css/bootstrap.css" rel="stylesheet">

    <style>
      body { padding-top: 60px; /* 60px to make the container go all the way
      to the bottom of the topbar */ }
    </style>
    <link href="<%=basePath%>assets/css/bootstrap-responsive.css" rel="stylesheet">
    <!-- Le HTML5 shim, for IE6-8 support of HTML5 elements -->
    <!--[if lt IE 9]>
      <script src="http://html5shim.googlecode.com/svn/trunk/html5.js">
      </script>
    <![endif]-->
    <!-- Le fav and touch icons -->
    <link rel="shortcut icon" href="<%=basePath%>assets/ico/favicon.ico">
    <link rel="apple-touch-icon-precomposed" sizes="144x144" href="<%=basePath%>assets/ico/apple-touch-icon-144-precomposed.png">
    <link rel="apple-touch-icon-precomposed" sizes="114x114" href="<%=basePath%>assets/ico/apple-touch-icon-114-precomposed.png">
    <link rel="apple-touch-icon-precomposed" sizes="72x72" href="<%=basePath%>assets/ico/apple-touch-icon-72-precomposed.png">
    <link rel="apple-touch-icon-precomposed" href="<%=basePath%>assets/ico/apple-touch-icon-57-precomposed.png">
    <style>
    </style>
  </head>
  <body>
    <div class="container">
    
     <form class="form-horizontal" action="userEditAction.action">
        <fieldset>
          <legend>用户修改</legend>
          <input type="hidden" id="input00" name="id" value="${requestScope.USER.id}">
          <div class="control-group">
            <label class="control-label" for="input01">用户名</label>
            <div class="controls">
              <input type="text" class="input-xlarge" id="input01" name="username" value="${requestScope.USER.username}">
              <p class="help-block">
				暂时有乱码，问题正在解决。
	      	</p>
            </div>
          </div>
          <div class="control-group">
            <label class="control-label" for="textarea">密码</label>
            <div class="controls">
             <input type="text" class="input-xlarge" id="input02" name="password" value="${requestScope.USER.password}">
                            <p class="help-block">
				暂时有乱码，问题正在解决。
	      	</p>
            </div>
          </div>
          <div class="control-group">
            <label class="control-label" for="textarea">年龄</label>
            <div class="controls">
             <input type="text" class="input-xlarge" id="input03" name="age" value="${requestScope.USER.age}">
                            <p class="help-block">
				暂时有乱码，问题正在解决。
	      	</p>
            </div>
          </div>
          <div class="form-actions">
            <button type="submit" class="btn btn-primary">保存</button>
            <button class="btn" onclick="javascript:history(-1)">取消</button>
          </div>
        </fieldset>
      </form>

    
    
		<!-- <form class="well form-signin" action="demoAddAction">
    	<div class="control-group">
    		<label class="control-label" for="input01">Title</label>
    		<div class="controls">
    			<input type="text" class="" name="title" id="input01">
    		</div>
    		<label class="control-label" for="input02">Content</label>
    		<label class="control-label">
	    		<textarea cols="3" class="" name="content" id="input02"></textarea>
    		</label>
    	</div>
    	<div class="control-group">
    		<label class="control-label">
    			Content
    			<textarea cols="3" class="" name="content"></textarea>
    		</label>

    	</div>
    	
		
		<button type="submit" class="btn btn-large btn-primary " >
    	    发布
    	</button>
        <button type="button" class="btn btn-large btn-primary" data-dismiss="alert" onclick="javascript:history(-1)">
    	    取消
    	</button>
		
	</form> -->

    </div>


    <%-- <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"> --%>
    <script src="<%=basePath%>assets/ajax/jquery/jquery-1.9.1.min.js"></script>
    <script src="<%=basePath%>assets/js/bootstrap.js"></script>
    <script>

    </script>
  </body>
</html>
